| Total Complexity | 54 |
| Dependencies | 0 |
| Dependents | 1 |
| Total lines | 243 |
| Lines of code | 134 |
| Logical lines of code | 81 |
| Comment lines | 66 |
| Methods | 13 |
| Properties | 0 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| render_product_badge() | 47 | 11 | 35 | |
| product_badge_loop_item() | 61 | 11 | 10 | |
| badge_html() | 55 | 4 | 17 | |
| badges_list() | 63 | 5 | 10 | |
| product_badges() | 61 | 4 | 12 | |
| __construct() | 58 | 3 | 15 | |
| handle_category_condition() | 65 | 4 | 8 | |
| is_excluded() | 66 | 3 | 8 | |
| handle_selected_product_condition() | 72 | 3 | 5 | |
| handle_out_of_product_condition() | 73 | 3 | 5 | |
| template_loop_product_thumbnail_before() | 82 | 1 | 3 | |
| template_loop_product_thumbnail_after() | 82 | 1 | 3 | |
| product_badge_single_product() | 81 | 1 | 3 |